package com.maotouying.recycleviewtest.adapter;

import android.view.View;
import android.view.ViewGroup;

import com.maotouying.recycleviewtest.R;
import com.maotouying.recycleviewtest.beans.ItemBean;

import java.util.List;

/**
 * @author mingtai
 * @description
 * @time 2020/8/21 0:49
 */

public  class ListViewAdapter extends RecyclerViewBaseAdapter {


    public ListViewAdapter(List<ItemBean> data) {
        super(data);
    }

    @Override
    protected View getSubView(ViewGroup parent, int viewType) {
        View view = View.inflate(parent.getContext(), R.layout.item_list_view,null);
        return view;
    }

}
